package org.shuma.goods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.shuma.goods.domain.entity.ProductBasicInfo;

import java.util.List;

/**
 * @author X7200
 * @description 针对表【product_basic_info】的数据库操作Mapper
 * @createDate 2024-06-18 12:34:24
 * @Entity generator.domain.ProductBasicInfo
 */
@Mapper
public interface ProductBasicInfoMapper extends BaseMapper<ProductBasicInfo> {
    IPage<ProductBasicInfo> selectListByCreatorId(IPage<?> page, Integer creatorId);

    @Select("select * from product_basic_info")
    List<ProductBasicInfo> selectAll();
}




